|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.vtp.desktop.projects.core.internals.VoiceResource
org.eclipse.vtp.desktop.projects.core.internals.ApplicationFragment
public class ApplicationFragment
| Constructor Summary | |
|---|---|
ApplicationFragment(org.eclipse.core.resources.IFile file,
ApplicationFragmentProject project)
Creates a new ApplicationDesign with the given
file resource and parent project. |
|
| Method Summary | |
|---|---|
java.lang.String |
getFragmentId()
|
java.lang.String |
getName()
|
protected java.lang.String |
getObjectId()
The object id is used by the event system to uniquely identify a project resource. |
IVoiceToolsResource |
getParent()
Returns the parent of this resource. |
IVoiceToolsProject |
getProject()
Returns the top level project object that contains this resource. |
org.eclipse.core.resources.IFile |
getUnderlyingFile()
|
java.io.InputStream |
read()
Opens the application definition resource and returns an InputStream that will produce the byte contents
of the resource. |
void |
write(java.io.InputStream in)
Requests the contents of the application definition resource be replaced with the contents of the given input stream. |
| Methods inherited from class org.eclipse.vtp.desktop.projects.core.internals.VoiceResource |
|---|
addRefreshListener, deferEvents, finalize, getAdapter, processObjectEvent, refresh, removeRefreshListener, resumeEvents |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.vtp.desktop.projects.core.IVoiceToolsResource |
|---|
addRefreshListener, deferEvents, refresh, removeRefreshListener, resumeEvents |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Constructor Detail |
|---|
public ApplicationFragment(org.eclipse.core.resources.IFile file,
ApplicationFragmentProject project)
ApplicationDesign with the given
file resource and parent project.
file - The eclipse file resource this representsproject - The application project that contains this design| Method Detail |
|---|
public java.lang.String getName()
getName in interface IVoiceToolsResourcepublic IVoiceToolsProject getProject()
IVoiceToolsResource
getProject in interface IVoiceToolsResourcegetProject in class VoiceResourcepublic org.eclipse.core.resources.IFile getUnderlyingFile()
getUnderlyingFile in interface IApplicationFragment
public java.io.InputStream read()
throws org.eclipse.core.runtime.CoreException
IApplicationFragmentInputStream that will produce the byte contents
of the resource.
read in interface IApplicationFragmentorg.eclipse.core.runtime.CoreException - If an error occurs while opening the resource
public void write(java.io.InputStream in)
throws org.eclipse.core.runtime.CoreException
IApplicationFragment
write in interface IApplicationFragmentin - An input stream to the new contents of the definition resource
org.eclipse.core.runtime.CoreException - If and error occurs while storing the new
definition contentspublic IVoiceToolsResource getParent()
IVoiceToolsResourcethis.
getParent in interface IVoiceToolsResourceprotected java.lang.String getObjectId()
VoiceResource
getObjectId in class VoiceResourcepublic java.lang.String getFragmentId()
getFragmentId in interface IApplicationFragment
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||